package com.example.jobback.req.common.password;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @ClassName: ResetPasswordReq
 * @Description:修改密码请求体
 * @Author: lhb
 * @Date: 2025/7/25
 */
@Data
@Schema(title = "修改密码请求体")
public class ResetPasswordReq {
    @Schema(title = "电话号码")
    @NotBlank(message = "电话号码不为空")
    private String phone;

    @Schema(title = "旧密码")
    @NotBlank(message = "旧密码不为空")
    private String oldPassword;

    @Schema(title = "新密码")
    @NotBlank(message = "新密码不为空")
    private String newPassword;
}
